package com.lxmes.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 在线留言对象 mh_messages_board
 * 
 * @author zhangzhiyu
 * @date 2023-06-19
 */
@ApiModel(value = "MhMessagesBoard", description = "在线留言对象")    
public class MhMessagesBoard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 留言ID */
    @ApiModelProperty("留言ID")
    private Integer id;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty("姓名")
    private String lyname;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @ApiModelProperty("邮箱")
    private String lyemail;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String lyphone;

    /** 留言内容 */
    @ApiModelProperty("留言内容")
    private String lymessage;

    /** 是否已读（0：未读，1：已读） */
    @Excel(name = "是否已读", readConverterExp = "0=：未读，1：已读")
    @ApiModelProperty("是否已读（0：未读，1：已读）")
    private Integer isRead;


    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setLyname(String lyname) 
    {
        this.lyname = lyname;
    }

    public String getLyname() 
    {
        return lyname;
    }
    public void setLyemail(String lyemail) 
    {
        this.lyemail = lyemail;
    }

    public String getLyemail() 
    {
        return lyemail;
    }
    public void setLyphone(String lyphone) 
    {
        this.lyphone = lyphone;
    }

    public String getLyphone() 
    {
        return lyphone;
    }
    public void setLymessage(String lymessage) 
    {
        this.lymessage = lymessage;
    }

    public String getLymessage() 
    {
        return lymessage;
    }
    public void setIsRead(Integer isRead) 
    {
        this.isRead = isRead;
    }

    public Integer getIsRead() 
    {
        return isRead;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lyname", getLyname())
            .append("lyemail", getLyemail())
            .append("lyphone", getLyphone())
            .append("lymessage", getLymessage())
            .append("isRead", getIsRead())
            .toString();
    }
}
